package com.dz.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@NoArgsConstructor
@Accessors(chain = true) //开启链式编程
public class Dept implements Serializable {
    private long deptno;
    private String dname;
    private String db_source;
    public Dept(String dname) {
        this.dname = dname;
    }
}
